﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SGIMail.Models
{
    public class EventDetails
    {
        public int EventDetailsId { get; private set; }
        public Category? Category { get; set; }

        [DataType(DataType.Date)]
        public DateTime Date { get; set; }
        public int EventId { get; set; }
        public int ContactId { get; set; }
        public virtual Event Event { get; set; }
        public virtual Contact Contacts { get; set; }
    }
}
